<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>

	<style type="text/css">
</style>
</h:head>
<h:body>

	<h:form id="login">

		<p:growl id="growl" for="growl_user_not_right" showDetail="true"
			life="2000" />
		<p:panelGrid columns="2" style="margin: 0 auto; margin-top: 200px">
			<f:facet name="header">  
							
	        	Cerca GiftList<br />Inserisci l'username del cliente
    		</f:facet>

			<p:outputLabel for="username" value="Username" />
			<p:inputText id="username" name="username" required="true"
				value="#{giftLMBean.cliente_cercato.username}"
				requiredMessage="Inserisci username" />


			<f:facet name="footer">
				<p:commandButton value="Cerca"
					action="#{giftLMBean.searchGiftLusr()}"
					update="login" />

				<p:commandButton value="Indietro" style="float: right"
					oncomplete="window.history.back();" />
			</f:facet>
		</p:panelGrid>
	</h:form>


</h:body>
</html>